package com.exam.service;

import com.exam.po.Admin;
import com.exam.po.Student;
import com.exam.po.Teacher;

/**
 * @author mahaoqi
 * @ClassName LoginService
 * @Description 登录
 * @Date 2021/1/12 17:28
 * @Version 1.0
 **/
public interface LoginService {

    /*
     * @Author mahaoqi
     * @Description 登录  三种身份的登录
     * @Date 2021/1/13 10:54
     * @Param [adminid, pwd]
     * @return com.exam.po.Admin
     **/
    public Admin findAdminByIdAndPassword(Integer adminid,String pwd);
    public Teacher findTeacherByIdAndPassword(Integer teacherid, String pwd);
    public Student findStudentByIdAndPassword(Integer studentid, String pwd);
}
